package cn.sirun.com.fca.account.view;

import com.tencent.cloud.iov.action.Action;
import com.tencent.cloud.iov.kernel.model.BaseResponse;

import cn.sirun.com.fca.account.constant.AccountActionConst;
import cn.sirun.com.fca.account.model.base.ResendResponse;
import cn.sirun.com.fca.account.model.base.SRPEncryptInfo;
import cn.sirun.com.fca.account.model.login.LoginResponse;
import cn.sirun.com.fca.account.model.register.RegisterSubmitResponse;

public interface ICaptchaView extends AccountActionConst.Normal {
    @Action(ACTION_REG_SUBMIT_CAPTCHA_RESULT)
    void onRegSubmitCaptchaResult(BaseResponse<RegisterSubmitResponse> result);

    @Action(ACTION_RESEND_CAPTCHA_RESPONSE)
    void onResendCaptchaResult(BaseResponse<ResendResponse> result);

    @Action(ACTION_REG_SUBMIT_EMAIL_CAPTCHA_RESULT)
    void onRegSubmitEmialCaptchaResult(BaseResponse<RegisterSubmitResponse> result);

    @Action(ACTION_RESEND_EMIAL_CAPTCHA_RESPONSE)
    void onResendEmailCaptchaResult(BaseResponse<ResendResponse> result);

    @Action(ACTION_RESET_SUBMIT_CAPTCHA_RESULT)
    void onResetSubmitCaptchaResult(BaseResponse<SRPEncryptInfo> result);

}
